package com.xhj.myframe.myspring.aop.aspectJ;

import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
/**
 * -
 *
 * @author 见见 pure_xhj@163.com @Date 2021-08-22 @Time 13:51
 */
@Component
public class Calculation {
  public int sum(String accountId, int... i) {
    int sum = 0;
    for (int i1 : i) {
      sum += i1;
    }
    return sum;
  }
}
